home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 422 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: chronicle.mti.sgi.com!austern
  2. From: Michael Cook <mcook@cognex.com>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Returning void
  5. Date: 20 Feb 1996 10:46:42 PST
  6. Organization: Cognex Corporation, Natick, Massachusetts
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <r4enrslcl9.fsf@erawan.cognex.com>
  9. References: <3125C4A3.5C00@ix.netcom.com>
  10. NNTP-Posting-Host: isolde.mti.sgi.com
  11. X-Original-Date: 18 Feb 1996 13:20:50 -0500
  12. X-Newsreader: September Gnus v0.38/Emacs 19.30
  13. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  14.     iQBVAwUBMSoXI0y4NqrwXLNJAQEF/AH9HaiwdYx9KcF4CFnbsdpu2jht6rhTk2tr
  15.     I4g9dK+PA6JTeDnYh5pGItmehbnItnKoKRves2n0SMJEKWKDtB0iYw==
  16.     =Zi1x
  17. Originator: austern@isolde.mti.sgi.com
  18.  
  19. >>>>> "P" == "Paul D DeRocco" <pderocco@ix.netcom.com> writes:
  20.  
  21.  P>         R& operator()() { return (obj.*mem)(); }
  22.  
  23. You're trying to return a `void&', not a `void'.
  24. Surely we wouldn't want the standard to allow `void&'.
  25. ---
  26. [ To submit articles: Try just posting with your newsreader.  If that fails,
  27.                       use mailto:std-c++@ncar.ucar.edu
  28.   FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
  29.   Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
  30.   Comments? mailto:std.c++-request@ncar.ucar.edu 
  31. ]
  32.